<?php

/**
 * Description of Log
 *
 * @author Adam
 */
class Log {
    private $id;
    private $action;
    private $userId;
    private $pageTo;
    private $pageFrom;
    private $ip;
    private $date;
    private $inDate;
    private $outDate;
    private $status;
    private $errMsg;
    private $sesExp;
    private $sesId;
    
    public function getId() {
        return $this->id;
    }

    public function setId($id) {
        $this->id = $id;
    }

    public function getAction() {
        return $this->action;
    }

    public function setAction($action) {
        $this->action = $action;
    }

    public function getUserId() {
        return $this->userId;
    }

    public function setUserId($userId) {
        $this->userId = $userId;
    }

    public function getPageTo() {
        return $this->pageTo;
    }

    public function setPageTo($pageTo) {
        $this->pageTo = $pageTo;
    }

    public function getPageFrom() {
        return $this->pageFrom;
    }

    public function setPageFrom($pageFrom) {
        $this->pageFrom = $pageFrom;
    }

    public function getIp() {
        return $this->ip;
    }

    public function setIp($ip) {
        $this->ip = $ip;
    }

    public function getDate() {
        return $this->date;
    }

    public function setDate($date) {
        $this->date = $date;
    }

    public function getInDate() {
        return $this->inDate;
    }

    public function setInDate($inDate) {
        $this->inDate = $inDate;
    }

    public function getOutDate() {
        return $this->outDate;
    }

    public function setOutDate($outDate) {
        $this->outDate = $outDate;
    }

    public function getStatus() {
        return $this->status;
    }

    public function setStatus($status) {
        $this->status = $status;
    }

    public function getErrMsg() {
        return $this->errMsg;
    }

    public function setErrMsg($errMsg) {
        $this->errMsg = $errMsg;
    }

    public function getSesExp() {
        return $this->sesExp;
    }

    public function setSesExp($sesExp) {
        $this->sesExp = $sesExp;
    }

    public function getSesId() {
        return $this->sesId;
    }

    public function setSesId($sesId) {
        $this->sesId = $sesId;
    }
    
    public function __toString() {
        return $this->id . " " . $this->action . " " . $this->pageFrom . " " . $this->pageTo;
    }

}

?>
